// DailyQuestionService.java
package com.scuec.groupfive.service;

import com.scuec.groupfive.entity.QuestionInfo;
import java.util.Map;

public interface DailyQuestionService {
    QuestionInfo getTodayQuestion();
    int addToFavorites(Long userId, Long questionId);
    int removeFromFavorites(Long userId, Long questionId);
    boolean isQuestionInFavorites(Long userId, Long questionId);
    Map<String, Object> getAnswerAndAnalysis(Long questionId, String questionType);
    int submitAnswer(Long userId, Long questionId, String questionType,
                     String answer, Boolean isCorrect, Double score, Integer timeSpent);
}